<%-- 
    Document   : sidebar
    Created on : 03-mar-2012, 18:05:08
    Author     : jaime
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page language="java"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<div id="sidebar">
    <ul>
        <li>
            <!-- Perfil -->
            <html:link action="editprofile.do"><b>${usuario.alias}</b></html:link><br>            

            <img src="./avatars/${usuario.avatar}" width="150px" height="160px"/><br>
        <class id="fijo">Nivel: </class>
        <class id="datos">
            <c:forEach var="niv" items="${usuario.usualengs}">
                <c:out value="${niv.nivel.idnivel}"/>
            </c:forEach>
        </class><br/>
        <class id="fijo">Valoración: </class><class id="datos">${rating}%</class>
        </li>
    </ul>

</div>

                